package com.myth.process;

public class TestThread2 implements Runnable{
    public void run(){
        for(int i = 0;i < 500;i++){
            System.out.println("子线程"+i);
        }
    }
    public static void main(String[] args) {

        TestThread2 t = new TestThread2();
        new Thread(t).start();

        for(int i = 0;i < 500;i++){
            System.out.println("主线程哦"+i);
        }

    }

}
